home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_147 / sys / atari / atari.zoo / ttydef.h < prev    next >
Text File  |  1988-07-25  |  835b  |  35 lines

  1. /*
  2.  * Name:    MicroEMACS
  3.  *        Atari 520ST header file.
  4.  * Version:    30
  5.  * Last edit:    22-Feb-86
  6.  * By:        rex::conroy
  7.  *        decvax!decwrl!dec-rhea!dec-rex!conroy
  8.  */
  9. #define    GOSLING    1            /* Use fancy redisplay.        */
  10.  
  11. #define    NROW    50            /* The "50" is big enough to    */
  12. #define    NCOL    80            /* deal with the "hi50" screen.    */
  13.  
  14. /*
  15.  * Special keys.
  16.  */
  17.  
  18. #define KFIRST    256
  19. #define KLAST   284
  20.  
  21.  
  22. /* These i/o functions are NOP's or direct equivalents of BIOS calls.
  23.  *    Make them #define's so we don't have to go through a useless
  24.  *    level of indirection.
  25.  */
  26.  
  27. #define ttinit()
  28. #define tttidy()
  29. #define ttwindow(top,bot) (top, bot)
  30. #define ttresize()
  31. #define ttnowindow()
  32. #define ttputc(c) Bconout(2, c)        /* Primitive output function    */
  33. #define ttflush()                    /* A NOP            */
  34. #define typeahead() ((int)Bconstat(2))    /* Check if there is input    */
  35.